package dao;

import model.Hospede;

public class DAOHospede extends DAORedeHoteisHilton<Hospede> {
	
	public DAOHospede() {
		super();
	}
	
	public Hospede findByCpf(long cpf) {
		for (Hospede hosp : findAll()) {
			if(hosp.getCpf() == cpf)
				return hosp;
		}
		
		return null;
	}

}
